.CodeMirror, .CodeMirror-scroll {
    min-height: 300px;
    max-height: 600px;
}
.CodeMirror-code {
    padding-bottom: 10px;
}
.CodeMirror-fullscreen, .CodeMirror-fullscreen .CodeMirror-scroll {
     max-height: none;
}